package com.ssm.icc.dao.model.estate;


import com.jee.ssm.common.core.base.BaseModel;

import java.util.Date;

/**
 * 
 * 表名 d_estate
 * @author GaoXiang
 * @version 1.0
 * Create time 2017/03/31
 */
public class Estate extends BaseModel {
    /**
     * 主键
     * 表字段 : d_estate.id
     * Create time 2017/03/31
     */
    private String id;

    /**
     * 物业编号
     * 表字段 : d_estate.number
     * Create time 2017/03/31
     */
    private String number;

    /**
     * 物业名称
     * 表字段 : d_estate.name
     * Create time 2017/03/31
     */
    private String name;

    /**
     * 物业地址
     * 表字段 : d_estate.address
     * Create time 2017/03/31
     */
    private String address;

    /**
     * 邮政编码
     * 表字段 : d_estate.postcode
     * Create time 2017/03/31
     */
    private String postcode;

    /**
     * 添加时间
     * 表字段 : d_estate.create_time
     * Create time 2017/03/31
     */
    private Date createTime;

    /**
     * 物业电话
     * 表字段 : d_estate.phone
     * Create time 2017/03/31
     */
    private String phone;

    /**
     * 物业邮箱
     * 表字段 : d_estate.email
     * Create time 2017/03/31
     */
    private String email;

    /**
     * 主页
     * 表字段 : d_estate.website
     * Create time 2017/03/31
     */
    private String website;

    /**
     * 法人
     * 表字段 : d_estate.legal_person
     * Create time 2017/03/31
     */
    private String legalPerson;

    /**
     * 法人电话
     * 表字段 : d_estate.legal_phone
     * Create time 2017/03/31
     */
    private String legalPhone;

    /**
     * 开户银行
     * 表字段 : d_estate.bank
     * Create time 2017/03/31
     */
    private String bank;

    /**
     * 银行账户
     * 表字段 : d_estate.bank_account
     * Create time 2017/03/31
     */
    private String bankAccount;

    /**
     * 税务号
     * 表字段 : d_estate.tax_number
     * Create time 2017/03/31
     */
    private String taxNumber;

    private String commonAddress;

    /**
     * 物业详情
     * 表字段 : d_estate.description
     * Create time 2017/03/31
     */
    private String description;

    /**
     * 关联用户表，用于接收添加物业时的用户名和密码
     */
    //private Account account;

    private String userName;
    private  String password;
    private String residenceId;

    //private List<Residence> residenceList;

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setResidenceId(String residenceId) {
        this.residenceId = residenceId;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }

    public String getResidenceId() {
        return residenceId;
    }

    //private  Residence residence;
    private String sensitivePower;

    private int cardNumber;

    public int getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(int cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getSensitivePower() {
        return sensitivePower;
    }

    public void setSensitivePower(String sensitivePower) {
        this.sensitivePower = sensitivePower;
    }

    /**
     * 构造方法
     */
    public Estate(String id, String number, String name, String address, String postcode, Date createTime, String phone, String email, String website, String legalPerson, String legalPhone, String bank, String bankAccount, String taxNumber, String description, /*Account account,*/ String commonAddress) {
        this.id = id;
        this.number = number;
        this.name = name;
        this.address = address;
        this.postcode = postcode;
        this.createTime = createTime;
        this.phone = phone;
        this.email = email;
        this.website = website;
        this.legalPerson = legalPerson;
        this.legalPhone = legalPhone;
        this.bank = bank;
        this.bankAccount = bankAccount;
        this.taxNumber = taxNumber;
        this.description = description;
        //this.account = account;
        this.commonAddress=commonAddress;
    }

    /**
     * 构造方法
     */
    public Estate() {
        super();
    }

    /**
     * 主键
     * @return id 主键
     */
    public String getId() {
        return id;
    }

    /**
     * 主键
     * @param id 主键
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 物业编号
     * @return number 物业编号
     */
    public String getNumber() {
        return number;
    }

    /**
     * 物业编号
     * @param number 物业编号
     */
    public void setNumber(String number) {
        this.number = number;
    }

    /**
     * 物业名称
     * @return name 物业名称
     */
    public String getName() {
        return name;
    }

    /**
     * 物业名称
     * @param name 物业名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 物业地址
     * @return address 物业地址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 物业地址
     * @param address 物业地址
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 邮政编码
     * @return postcode 邮政编码
     */
    public String getPostcode() {
        return postcode;
    }

    /**
     * 邮政编码
     * @param postcode 邮政编码
     */
    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    /**
     * 添加时间
     * @return create_time 添加时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 添加时间
     * @param createTime 添加时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 物业电话
     * @return phone 物业电话
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 物业电话
     * @param phone 物业电话
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 物业邮箱
     * @return email 物业邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 物业邮箱
     * @param email 物业邮箱
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 主页
     * @return website 主页
     */
    public String getWebsite() {
        return website;
    }

    /**
     * 主页
     * @param website 主页
     */
    public void setWebsite(String website) {
        this.website = website;
    }

    /**
     * 法人
     * @return legal_person 法人
     */
    public String getLegalPerson() {
        return legalPerson;
    }

    /**
     * 法人
     * @param legalPerson 法人
     */
    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    /**
     * 法人电话
     * @return legal_phone 法人电话
     */
    public String getLegalPhone() {
        return legalPhone;
    }

    /**
     * 法人电话
     * @param legalPhone 法人电话
     */
    public void setLegalPhone(String legalPhone) {
        this.legalPhone = legalPhone;
    }

    /**
     * 开户银行
     * @return bank 开户银行
     */
    public String getBank() {
        return bank;
    }

    /**
     * 开户银行
     * @param bank 开户银行
     */
    public void setBank(String bank) {
        this.bank = bank;
    }

    /**
     * 银行账户
     * @return bank_account 银行账户
     */
    public String getBankAccount() {
        return bankAccount;
    }

    /**
     * 银行账户
     * @param bankAccount 银行账户
     */
    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    /**
     * 税务号
     * @return tax_number 税务号
     */
    public String getTaxNumber() {
        return taxNumber;
    }

    /**
     * 税务号
     * @param taxNumber 税务号
     */
    public void setTaxNumber(String taxNumber) {
        this.taxNumber = taxNumber;
    }

    /**
     * 物业详情
     * @return description 物业详情
     */
    public String getDescription() {
        return description;
    }

    /**
     * 物业详情
     * @param description 物业详情
     */
    public void setDescription(String description) {
        this.description = description;
    }

    public String getCommonAddress() {
        return commonAddress;
    }

    public void setCommonAddress(String commonAddress) {
        this.commonAddress = commonAddress;
    }
/*
    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }

    public Residence getResidence() {
        return residence;
    }

    public void setResidence(Residence residence) {
        this.residence = residence;
    }

    public List<Residence> getResidenceList() {
        return residenceList;
    }

    public void setResidenceList(List<Residence> residenceList) {
        this.residenceList = residenceList;
    }*/
}